﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using GraphProcessor;
using System.Linq;
using IQIGame.Onigao.GamePlay;
using IQIGame.Onigao.Logic;

namespace IQIGame.Onigao.GamePlay.Editors
{
    [System.Serializable, NodeMenuItem(SkillEditorConst.Trigger + "/" + SkillEditorConst.Common, typeof(SkillEditorGraph))]
    public class SkillTriggerNode_Common : SkillTriggerNode
    {
        [InspectorName("类型")]public ESkillTriggerType triggerType;
        protected override ESkillTriggerType type => this.triggerType;

        public override string name => "Trigger_Common";

        protected override SkillCustomConfig CreateConfig()
        {
            return new SkillCustomConfig();
        }
    }
}